home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / Maze.gls < prev    next >
Text File  |  2000-08-22  |  5KB  |  301 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "gunlok.gsh"
  14. #include "hark.gsh"
  15. #include "frend.gsh"
  16.  
  17.  
  18. /*********/
  19. /* NOTES */
  20. /*********/
  21.  
  22. /**********/
  23. /* SHAPES */
  24. /**********/
  25.  
  26. // world objects
  27.  
  28. shape Shp_flag_a
  29. {
  30.     file "levels\maze.rif"
  31.     name "flag A"
  32.  
  33. shape Shp_flag_b
  34. {
  35.     file "levels\maze.rif"
  36.     name "flag B"
  37.  
  38. shape Shp_homebase_a
  39. {
  40.     file "levels\maze.rif"
  41.     name "homebase A"
  42.  
  43. shape Shp_homebase_b
  44. {
  45.     file "levels\maze.rif"
  46.     name "homebase B"
  47.  
  48.   /*** GARBAGE ***/
  49.  
  50.  
  51.  
  52. shape Shp_garbage_EA
  53. {
  54.     file "levels\maze.rif"
  55.     name "GARBAGE EA"
  56. }
  57.  
  58. shape Shp_garbage_FA
  59. {
  60.     file "levels\maze.rif"
  61.     name "GARBAGE FA"
  62. }
  63.  
  64. shape Shp_garbage_GA
  65. {
  66.     file "levels\maze.rif"
  67.     name "GARBAGE GA"
  68. }
  69.  
  70. shape Shp_garbage_HA
  71. {
  72.     file "levels\maze.rif"
  73.     name "GARBAGE HA"
  74. }
  75.  
  76. shape Shp_garbage_IA
  77. {
  78.     file "levels\maze.rif"
  79.     name "GARBAGE IA"
  80. }
  81.  
  82. shape Shp_garbage_JA
  83. {
  84.     file "levels\maze.rif"
  85.     name "GARBAGE JA"
  86. }
  87.  
  88.  
  89. /*** JUNKPILE ***/
  90.  
  91.  
  92. shape Shp_junkpile_K
  93. {
  94.     file "levels\maze.rif"
  95.     name "JUNKPILE K"
  96. }
  97.  
  98. shape Shp_junkpile_LA
  99. {
  100.     file "levels\maze.rif"
  101.     name "JUNKPILE LA"
  102. }
  103.  
  104.  
  105. shape Shp_junkpile_O
  106. {
  107.     file "levels\maze.rif"
  108.     name "JUNKPILE O"
  109. }
  110.  
  111.  
  112. /**********/
  113. /* ROLES  */
  114. /**********/
  115.  
  116. // world objects
  117.  
  118. role Rol_flag_a : Rol_PlacedObject
  119. {
  120.     shape Shp_flag_a
  121. }
  122.  
  123. role Rol_flag_b : Rol_PlacedObject
  124. {
  125.     shape Shp_flag_b
  126. }
  127.  
  128. role Rol_homebase_a : Rol_PlacedObject
  129. {
  130.     shape Shp_homebase_a
  131. }
  132.  
  133. role Rol_homebase_b : Rol_PlacedObject
  134. {
  135.     shape Shp_homebase_b
  136. }
  137.  
  138. /*** GARBAGE ***/
  139.  
  140. role Rol_garbage_EA : Rol_DefaultGarbage
  141. {
  142.     shape Shp_garbage_EA
  143. }
  144.  
  145.  
  146. role Rol_garbage_FA : Rol_DefaultGarbage
  147. {
  148.     shape Shp_garbage_FA
  149. }
  150.  
  151.  
  152. role Rol_garbage_GA : Rol_DefaultGarbage
  153. {
  154.     shape Shp_garbage_GA
  155. }
  156.  
  157. role Rol_garbage_HA : Rol_DefaultGarbage
  158. {
  159.     shape Shp_garbage_HA
  160. }
  161.  
  162. role Rol_garbage_IA : Rol_DefaultGarbage
  163. {
  164.     shape Shp_garbage_IA
  165. }
  166.  
  167. role Rol_garbage_JA : Rol_DefaultGarbage
  168. {
  169.     shape Shp_garbage_JA
  170. }
  171.  
  172. /*** JUNKPILE ***/
  173.  
  174. role Rol_junkpile_K : Rol_DefaultJunkpile
  175. {
  176.     shape Shp_junkpile_K
  177. }
  178.  
  179. role Rol_junkpile_LA : Rol_DefaultJunkpile
  180. {
  181.     shape Shp_junkpile_LA
  182. }
  183.  
  184. role Rol_junkpile_O : Rol_DefaultJunkpile
  185. {
  186.     shape Shp_junkpile_O
  187. }
  188.  
  189.  
  190. /***********/
  191. /* THE MAP */
  192. /***********/
  193.  
  194. map /* _THE_ map - doesnt need a label */
  195. {
  196.     file "levels\maze.rif"
  197.     name "Land"
  198.     bitmap none // obsolete
  199.     camera plane "camhund"
  200.     max camera distance 100 // TBD exactly
  201.     max camera focus height "max focus height"
  202.     min camera focus height "min focus height"
  203.     shadow object rif "levels\maze_shadow.rif"
  204.     shadow object name "Land"
  205.  
  206.     // PLAYER'S TROOPS
  207.  
  208.     use Rol_Hark in team 1 for
  209.         "Goodie A" as "hark"
  210.  
  211.     use Rol_Hark in team 1 for
  212.         "Goodie B" as "hark"
  213.  
  214.     use Rol_Frend in team 1 for
  215.         "Goodie C" as "frend"
  216.  
  217.     use Rol_GunLok in team 1 for
  218.         "Goodie D" as "gunlok"
  219.  
  220.     use Rol_GunLok in team 3 for
  221.         "Goodie E" as "gunlok"
  222.  
  223.     use Rol_Hark in team 3 for
  224.         "Goodie F" as "hark"
  225.  
  226.     use Rol_Hark in team 3 for
  227.         "Goodie G" as "hark"
  228.  
  229.     use Rol_Frend in team 3 for
  230.         "Goodie H" as "frend"
  231.  
  232.     // NEUTRAL OBJECTS
  233.  
  234.     use Rol_flag_a in team 1 
  235.         for "flag A" as "flag_1"
  236.  
  237.     use Rol_flag_b in team 3 
  238.         for "flag B" as "flag_3"
  239.  
  240.     use Rol_homebase_a in team 1 
  241.         for "homebase A" as "capture_1"
  242.  
  243.     use Rol_homebase_b in team 1 
  244.         for "homebase B" as "capture_3"
  245.  
  246.     // GARBAGE
  247.  
  248.     use Rol_garbage_EA in team 0 for
  249.         "GARBAGE EA" as "garbage_ea"
  250.     use Rol_garbage_EA in team 0 for
  251.         "GARBAGE EB" as "garbage_eb"
  252.     use Rol_garbage_EA in team 0 for
  253.         "GARBAGE EC" as "garbage_ec"
  254.     use Rol_garbage_EA in team 0 for
  255.         "GARBAGE ED" as "garbage_ed"
  256.  
  257.     use Rol_garbage_FA in team 0 for    
  258.         "GARBAGE FA" as "garbage_fa"
  259.     use Rol_garbage_FA in team 0 for    
  260.         "GARBAGE FB" as "garbage_fb"
  261.  
  262.     use Rol_garbage_GA in team 0 for    
  263.         "GARBAGE GA" as "garbage_ga"
  264.     use Rol_garbage_GA in team 0 for    
  265.         "GARBAGE GB" as "garbage_gb"
  266.  
  267.     use Rol_garbage_HA in team 0 for
  268.         "GARBAGE HA" as "garbage_ha"
  269.     use Rol_garbage_HA in team 0 for
  270.         "GARBAGE HB" as "garbage_hb"
  271.     use Rol_garbage_HA in team 0 for
  272.         "GARBAGE HC" as "garbage_hc"
  273.  
  274.     use Rol_garbage_IA in team 0 for
  275.         "GARBAGE IA" as "garbage_ia"        
  276.     use Rol_garbage_IA in team 0 for
  277.         "GARBAGE IB" as "garbage_ib"    
  278.  
  279.     use Rol_garbage_JA in team 0 for
  280.         "GARBAGE JA" as "garbage_ja"        
  281.     use Rol_garbage_JA in team 0 for
  282.         "GARBAGE JB" as "garbage_jb"    
  283.  
  284.     /*** JUNKPILE ***/
  285.  
  286.     use Rol_junkpile_K in team 0 for
  287.         "JUNKPILE K" 
  288.  
  289.     use Rol_junkpile_LA in team 0 for
  290.         "JUNKPILE LA" and
  291.         "JUNKPILE LB" and
  292.         "JUNKPILE LC" and
  293.         "JUNKPILE LD"
  294.  
  295.     use Rol_junkpile_O in team 0 for
  296.         "JUNKPILE O" 
  297. }